home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / missing.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-06-15  |  1.0 KB  |  47 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef MISSINGFONT_H
  8. #define MISSINGFONT_H
  9.  
  10. #include <QDialog>
  11.  
  12. class QLabel;
  13. class QHBoxLayout;
  14. class QGridLayout;
  15. class QPushButton;
  16. class FontCombo;
  17. class ScribusDoc;
  18. #include "scribusapi.h"
  19. #include "scribusstructs.h"
  20.  
  21. class SCRIBUS_API MissingFont : public QDialog
  22. {
  23.     Q_OBJECT
  24.  
  25. public:
  26.     MissingFont( QWidget* parent, QString fon, ScribusDoc* doc);
  27.     ~MissingFont() {};
  28.     
  29.     const QString getReplacementFont();
  30.  
  31. public slots:
  32.     virtual void newFont(const QString& replacement);
  33.  
  34. protected:
  35.     QHBoxLayout* missingFontLayout;
  36.     QGridLayout* missingFontGridLayout;
  37.     QPushButton* okButton;
  38.     QLabel* insteadLabel;
  39.     QLabel* pixmapLabel;
  40.     FontCombo* replaceFontCombo;
  41.     QLabel* notInstalledLabel;
  42.     QLabel* useLabel;
  43.     QString replacementFont;
  44. };
  45.  
  46. #endif // MISSINGFONT_H
  47.